package com.milkcoffee.designpatterns.singleton;

/**
 * @author zxs
 */
public class HungrySingletonTest {

    public static void main(String[] args) {
        HungrySingleton hungrySingleton = HungrySingleton.getInstance();
        HungrySingleton hungrySingleton1 = HungrySingleton.getInstance();

        System.out.println(hungrySingleton);
        System.out.println(hungrySingleton1);
    }
}
